import React from 'react';
import { Tag } from 'antd';

export enum TagsType {
  simple = '简单',
  middle = '中等',
  difficulty = '困难'
}

export const tagsMap = {
  [TagsType.simple]: <Tag color="#87d068">简单</Tag>,
  [TagsType.middle]: <Tag color="#2db7f5">中等</Tag>,
  [TagsType.difficulty]: <Tag color="red">困难</Tag>
};
